<template>
  <div class="contentTaste">
    <div class="contentTaste_list" v-for="(item, index) in list" :key="index">
      <img :src="'../../../../../binbing/AITOPagePublic/content' + item.img + '.webp'" />
      <div class="M5">
        <span>{{ item.name }}</span>
      </div>
      <div class="describe">
        {{ item.word }}
      </div>
      <div class="tags">
        <img src="../../../../assets/binbing/AITOPageImg/AutoLogo.webp" />
        <span>AITO汽车</span>
      </div>
    </div>
  </div>
</template>

<script>
export default {
  name: "ContentTesting",
  data() {
    return {
      list: [
        {
          img: "01",
          name: "#AITO问界 M5”",
          word: "余承东：“我想成为第一，这既是愿景，又是信念”",
        },
        {
          img: "02",
          name: "#AITO问界 M5”",
          word: "告别车流恐惧，和AITO问界M5一起尽情驰骋",
        },
        {
          img: "03",
          name: "#华为MateBook系列”",
          word: "一起回顾AITO问界M5发布会高光时刻",
        },
        {
          img: "04",
          name: "#AITO问界 M5”",
          word: "越山川冰河，仰满天星河",
        },
      ],
    };
  },
};
</script>

<style scoped>
.contentTaste {
  width: 3.82rem;
  height: 6.18rem;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-content: space-between;
  flex-wrap: wrap;
}
.contentTaste_list {
  width: 1.87rem;
  height: 3.05rem;
  background-color: #fff;
  border-radius: 0.08rem;
  overflow: hidden;
}
.contentTaste_list > img {
  width: 1.87rem;
  height: 1.87rem;
}
.M5 {
  width: 1.71rem;
  height: 0.28rem;
  margin: 0.08rem 0.08rem 0;
}
.M5 span {
  padding: 0.05rem 0.08rem;
  border-radius: 0.14rem;
  background-color: rgba(0, 0, 0, 0.05);
  font-size: 0.12rem;
  font-weight: 600;
}
.describe {
  height: 0.38rem;
  padding: 0 0.08rem;
  font-size: 0.14rem;
  font-weight: 600;
  margin-top: 0.05rem;
}
.tags {
  height: 0.28rem;
  padding: 0.08rem 0.08rem 0;
  display: flex;
  justify-content: space-between;
  box-sizing: border-box;
  margin-top: 0.05rem;
}
.tags > img {
  width: 0.2rem;
  height: 0.2rem;
}
.tags > span {
  font-size: 0.12rem;
  font-weight: 400;
  line-height: 0.2rem;
  color: rgba(0, 0, 0, 0.4);
  flex: 1;
}
</style>